package com.zwk1210;

public class DogTest {
    public static void main(String[] args) {
        Dog dog = new Dog();

        dog.dogState = new HappyDogState();
        dog.show();
        dog.dogState = new SadDogState();
        dog.show();
    }
}